/* 字体图标 */
@import url(../fonts/iconfont.css);

/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
}
/* 公共类 */
.fl{
    float: left;
}
.fr {
    float: right;
}
.font-red {
    color: #c81623;
}

/* --------------------------------快捷导航栏模块 */
.shortcut {
    height: 31px;
    line-height: 31px;
    background-color: #f1f1f1;
}
.shortcut ul li {
    float: left;
}
.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 12px 0;
}
.arrow-icon::after {
    content: '\e65e';
    font-family: 'iconfont';
    margin-left: 6px;
}

/* --------------------------------头部模块 */
.header {
    position: relative;
    height: 105px;
    /* background-color: cyan; */
}
/* ------------logo模块 */
.logo {
    position: absolute;
    top: 25px;
    width: 171px;
    height: 61px;
    /* background-color: skyblue; */
}
.logo a {
    display: block;
    width: 171px;
    height: 61px;
    background: url(../images/logo.png) no-repeat;
    /* 隐藏文字：方法1 */
    font-size: 0;
    /* 隐藏文字：方法2 */
    /* text-indent: -999999px;
    overflow: hidden; */
}

/* ------------搜索框模块 */
.search {
    position: absolute;
    top: 25px;
    left: 346px;
    width: 538px;
    height: 36px;
    border: 2px solid #b1191a;
}
/* 相邻行内块若换行，则换行符也会占用一定空间，设置为浮动后就会紧贴一起不会受换行空间影响了 */
.search input {
    float: left;
    width: 454px;
    height: 32px;
    padding-left: 10px;
}
.search button {
    float: left;
    width: 80px;
    height: 32px;
    background-color: #b1191a;
    font-size: 16px;
    color: #fff;
}

/* ------------热词关键字模块 */
.hotwords {
    position: absolute;
    left: 346px;
    top: 66px;
}
.hotwords a {
    margin: 0 10px;
}

/* ------------购物车模块 */
.shopcar {
    position: absolute;
    right: 60px;
    top: 25px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}
.shopcar::before {
    content: '\e600';
    margin-right: 6px;
    font-family: 'iconfont';
    color: #b1191a;
}
.shopcar::after {
    content: '\e65f';
    font-family: 'iconfont';
    margin-left: 10px;
}
.count {
    position: absolute;
    top: 0;
    left: 95px;
    height: 14px;
    padding: 0 5px;
    background-color: red;
    color: white;
    line-height: 14px;
    border-radius: 7px 7px 7px 0;
}

/* --------------------------------导航栏模块 */
.nav {
    height: 47px;
    border-bottom: 2px solid #bb2713;
}
/* -----------左侧导航栏 */
.nav .dropdown {
    float: left;
    width: 210px;
    height: 45px;
    background-color: #bb2713;
}
/* -----左侧导航栏：dt */
.dropdown .dt {
    width: 100%;
    height: 100%;
    color: #fff;
    font-size: 16px;
    line-height: 45px;
    text-align: center;
}
/* -----左侧导航栏：dd */
.dropdown .dd {
    /* display: none; */
    width: 210px;
    /* 原来465px，现在增加2px，变为457px */
    height: 467px;
    margin-top: 2px;
    background-color: #c81623;
}
.dropdown .dd ul li {
    position: relative;
    height: 31px;
    line-height: 31px;
    margin-left: 2px;
    padding-left: 10px;
}
.dropdown .dd ul li:hover {
    background-color: #fff;
}
.dropdown .dd ul li::after {
    content: '\e65f';
    position: absolute;
    top: 1px;
    right: 10px;
    color: #fff;
    font-family: 'iconfont';
}
/* 经过的是li，不是a，但变红的是li中的子元素 */
.dropdown .dd ul li:hover a,
.dropdown .dd ul li:hover::after {
    color: #c81623;
}
.dropdown .dd ul li a {
    font-size: 14px;
    color: #fff;
}

/* -----------右侧导航栏 */
.nav .navitems {
    float: left;
}
.navitems ul li {
    float: left;
}
.navitems ul li a {
    display: block;
    height: 45px;
    line-height: 45px;
    font-size: 16px;
    padding: 0 25px;
}

/* --------------------------------底部模块 */
.footer {
    height: 415px;
    background-color: #f5f5f5;
    padding-top: 30px;
}
/* -----------服务模块 */
.mod_service {
    height: 80px;
    border-bottom: 1px solid #ccc;
}
.mod_service ul li {
    float: left;
    width: 300px;
    height: 50px;
    /* background-color: cyan; */
    padding-left: 35px;
}
.mod_service ul li h5 {
    float: left;
    width: 50px;
    height: 50px;
    margin-right: 8px;
    background: url(../images/icons.png) no-repeat -301px -7px;
    border-radius: 50%;
}
.service_txt h4 {
    font-size: 14px;
}
.service_txt p {
    font-size: 12px;
}
/* -----------帮助模块 */
.mod_help {
    height: 185px;
    padding: 20px 0 0 50px;
    border-bottom: 1px solid #ccc;
}
.mod_help dl {
    float: left;
    width: 200px;
}
.mod_help dl:last-child {
    width: 90px;
    text-align: center;
}
.mod_help dl dt {
    font-size: 16px;
    margin-bottom: 10px;
}
/* -----------版权模块 */
.mod_copyright {
    text-align: center;
    padding-top: 20px;
}
.links {
    margin-bottom: 15px;
}
.links a {
    margin: 0 3px;
}
.copyright {
    line-height: 20px;
}
